<%-- 
    Document   : welcome
    Created on : Mar 29, 2014, 5:15:04 PM
    Author     : Mona
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:if test="${empty sessionScope.email}">
    <c:redirect url="index.jsp"/>
</c:if>       

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Welcome <c:out value="${sessionScope.name}"/></h1>
    </body>
</html>
